<?php

require "include/image_manager.inc.php";
require "include/db_manager.inc.php";
$query = "SELECT `uri` FROM `immagine`";
if ($data = DB_Manager::getInstance()->query($query)) {
    while ($row = $data->fetch_array(MYSQLI_ASSOC)) {
        $file=str_replace(getcwd().'/uploads/', "", Image_Manager::resize(getcwd().'/uploads/'.$row['uri']));
    }
}
?>

